<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .member {

            display: flex;
        }

        .member1 {
            margin: 100px 100px;
        }

        .name {
            width: 200px;
            height: 200px;
            line-height: 200px;
            color: #6cf;
            border: 1px solid #ccc;
            text-align: center;
            display: none;
        }

        .wzh {
            margin: 100px 100px;
        }

        .names {
            width: 200px;
            height: 200px;
            line-height: 200px;
            border: 1px solid #ccc;
            color: #77A1D3;
            text-align: center;
            display: none;
        }

        .name0 {
            width: 200px;
            height: 200px;
            line-height: 200px;
            border: 1px solid #ccc;
            color: #77A1D3;
            text-align: center;
            display: none;
        }
    </style>
</head>

<body>


    <div class="member">
        <div class="member1">
            <button class="btn0">叫我锋哥哥</button>
            <p class='name0'>锋哥哥</p>
        </div>

        <div class="member">
            <div class="member1">
                <button class="btn1">温振伟</button>
                <p class='name'>温振伟</p>
            </div>

            <div class="wzh">
                <button class="btn2">王子慧</button>
                <p class="names">王子慧</p>
            </div>
        </div>


        <script>
            let btn0 = document.querySelector('.btn0')
            let btn1 = document.querySelector('.btn1')
            let btn2 = document.querySelector('.btn2')
            let name0 = document.querySelector('.name0')
            let names = document.querySelector('.names')
            let name = document.querySelector('.name')

            btn0.addEventListener('click', function () {
                name0.style.display = 'block'
            })
            btn0.addEventListener('dblclick', function () {
                name0.style.display = 'none'
            })

            btn1.addEventListener('click', function () {
                name.style.display = 'block'
            })
            btn1.addEventListener('dblclick', function () {
                name.style.display = 'none'
            })
            btn2.addEventListener('click', function () {
                names.style.display = 'block'
            })
            btn2.addEventListener('dblclick', function () {
                names.style.display = 'none'
            })


        </script>
</body>

</html>